<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<?php print $styles; ?>
  <title><?php print $head_title; ?></title>
  <?php print $head; ?>
  <?php print $styles; ?>
  <?php print $scripts; ?>
</head>

<body>
<?php
  //<!--/* OpenX Local Mode Tag v2.6.1 */-->

  // The MAX_PATH below should point to the base of your OpenX installation
  define('MAX_PATH', 'E:\Book\Php\Project\openx');
  if (@include_once(MAX_PATH . '/www/delivery/alocal.php')) {
    if (!isset($phpAds_context)) {
      $phpAds_context = array();
    }
    // function view_local($what, $zoneid=0, $campaignid=0, $bannerid=0, $target='', $source='', $withtext='', $context='', $charset='')
    $phpAds_raw = view_local('', 1, 0, 0, '_top', '', '0', $phpAds_context, '');
  }
  echo $phpAds_raw['html']."ngoc";
?>
<div>
<?php if (!empty($top)): ?>
<?php print $top; ?>
<?php endif; ?>
</div>
<div class="container">
	<?php if (!empty($site_name)): ?>
		<div class="header"><a href="<?php print $front_page ?>" title="<?php print t('Home'); ?>" rel="home"><span><?php print $site_name; ?></span></a></div>
	<?php endif; ?>
	<div class="main_right">

		<div class="padded">
			<?php if (!empty($right)): ?>
			<?php print $right; ?>
			<?php endif; ?>
		</div>
		
	</div>
	<?php if (!empty($left)): ?>
	<div class="subnav">
		<?php print $left; ?>
	</div>
	<?php endif; ?>
	<div class="main">

		<div class="padded">
			<?php if (!empty($breadcrumb)): ?><div id="breadcrumb"><?php print $breadcrumb; ?></div><?php endif; ?>
			<?php if (!empty($title)): ?><h1 class="title" id="page-title"><?php print $title; ?></h1><?php endif; ?>
          <?php if (!empty($tabs)): ?><div class="tabs"><?php print $tabs; ?></div><?php endif; ?>
          <?php if (!empty($messages)): print $messages; endif; ?>
          <?php if (!empty($help)): print $help; endif; ?>
          <div id="content-content" class="clear-block">
            <?php print $content; ?>
          </div> <!-- /content-content -->
          <?php print $feed_icons; ?>
				
		</div>

	</div>
	
	<div class="clearer"><span></span></div>

	<div class="footer">
		
		<span class="left">Valid <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &amp; <a href="http://validator.w3.org/check?uri=referer">XHTML</a></span></span>
		
		<span class="right"><a href="http://templates.arcsin.se">Website template</a> by <a href="http://arcsin.se">Arcsin</a></span>
		<?php echo $footer;?>
		<div class="clearer"><span></span></div>
	
       
	</div>

</div>
</body>

</html>